﻿using System;
using System.Collections.Generic;
using System.Text;

namespace T.FAS.Runtime.Base.UnitTests
{
    /// <summary>
    /// 当前登录用户
    /// </summary>
    [Serializable]
    public class UserDataEX
    {
        /// <summary>
        /// 用户内码
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string Alias { get; set; }

        /// <summary>
        /// 用户名（账号）
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 微信标识ID
        /// </summary>
        public string OpenId { get; set; }
        /// <summary>
        /// 小程序标识ID
        /// </summary>
        public string SPDeviceID { get; set; }

        /// <summary>
        /// 账户内码
        /// </summary>
        public string CustomerID { get; set; }

    }
    /// <summary>
    /// 当前登录用户
    /// </summary>
    [Serializable]
    public class UserData
    {
        public UserData()
        {
            PersonalData = new PersonalData();
        }
        /// <summary>
        /// 用户内码
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 用户名（账号）
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string Alias { get; set; }

        /// <summary>
        /// 皮肤
        /// </summary>
        public string Skin { get; set; }


        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 公司内码
        /// </summary>
        public string CompanyId { get; set; }

        /// <summary>
        /// 部门内码
        /// </summary>
        public string DepartmentId { get; set; }

        /// <summary>
        /// <summary>
        /// 个人其他信息
        /// </summary>
        public PersonalData PersonalData { get; set; }
    }
    /// <summary>
    /// 当前登录用户
    /// </summary>
    [Serializable]
    public class PersonalData
    {
        /// <summary>
        /// 账户内码
        /// </summary>
        public string CustomerID { get; set; }
        /// <summary>
        /// 小程序标识ID
        /// </summary>
        public string SPDeviceID { get; set; }

        /// <summary>
        /// 微信标识ID
        /// </summary>
        public string OpenId { get; set; }
    }
}
